package com.sharelords.demo.client.ao;

import com.sharelords.demo.common.base.pojo.BaseAo;

import javax.persistence.Id;

/**
 * @Description: 测试角色对外业务模型
 * @Author: 千古龙少
 * @Time: 2019/11/20 23:58
 */
public class DemoTestRoleAo extends BaseAo {

    private static final long serialVersionUID = -5050318755825149151L;

    /**
     * 主键id
     */
    @Id
    private Integer id;
    /**
     * 角色名称
     */
    private String name;
    /**
     * 角色权限
     */
    private String power;
    /**
     * 上级管理角色id
     */
    private Integer manageRoleId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    public Integer getManageRoleId() {
        return manageRoleId;
    }

    public void setManageRoleId(Integer manageRoleId) {
        this.manageRoleId = manageRoleId;
    }

    @Override
    public String toString() {
        return "DemoTestRoleAo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", power='" + power + '\'' +
                ", manageRoleId=" + manageRoleId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createBy='" + createBy + '\'' +
                ", updateBy='" + updateBy + '\'' +
                ", isDelete=" + isDelete +
                '}';
    }
}
